package com.ruoyi.zhgd.dto;


import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.DecimalMax;
import java.math.BigDecimal;

@Data
public class AsphaltRequiresRefYDDto {

    @Length(message = "关联id长度不能超过{max}个字",max = 36)
    private String asphaltId;

    /*
     *最小值
     */
    @DecimalMax(message = "最小值不能超过{value}个字",value = "9999999999.9")
    private BigDecimal min;

    /*
     *温度
     */
    @DecimalMax(value = "9999999999.9",message = "温度不能超过{value}")
    private BigDecimal temperature;

    /*
     *最小值
     */
    @DecimalMax(message = "最小值不能超过{value}个字",value = "9999999999.9")
    private BigDecimal min1;

    /*
     *最小值
     *//*
    @DecimalMax(message = "最小值不能超过{value}个字",value = "9999999999.9")
    private BigDecimal min2;

    *//*
     *最大值
     *//*
    @DecimalMax(message = "最大值不能超过{value}个字",value = "9999999999.9")
    private BigDecimal max;*/

    @Length(message = "类型不能超过{max}个字",max = 10)
    private String type;
}
